#include <iostream>


bool ReturnTrue(){
    std::cout << "进入了ReturnTrue函数" << std::endl;
    return true;
}

bool ReturnFalse(){
    std::cout << "进入了ReturnFalse函数" << std::endl;
    return false;
}


int main(){

    bool test1 = ReturnFalse() && ReturnTrue() && ReturnFalse() && ReturnTrue();
    std::cout << "test1 = " << test1 << std::endl;

    std::cout << "================" << std::endl;

    bool test2 = ReturnTrue() || ReturnTrue() || ReturnFalse() || ReturnTrue();
    std::cout << "test2 = " << test2 << std::endl;


    return 0;
}